home *** CD-ROM | disk | FTP | other *** search
- Path: engnews1.Eng.Sun.COM!taumet!clamage
- From: "Nathan Myers, http://www.cantrip.org/" <ncm@cantrip.org>
- Newsgroups: comp.std.c++
- Subject: Re: class basic_string<>
- Date: 20 Mar 1996 16:06:27 GMT
- Organization: The Cantrip Cooperative
- Approved: clamage@eng.sun.com (comp.std.c++)
- Message-ID: <314F9DC4.470A84CF@cantrip.org>
- References: <3147413B.B10@trcinc.com>
- NNTP-Posting-Host: taumet.eng.sun.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset="us-ascii"
- Content-Transfer-Encoding: 7bit
- X-Nntp-Posting-Host: ncm.vip.best.com
- X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.13 i386)
- X-Lines: 23
- Content-Length: 989
- Originator: clamage@taumet
-
- Rich Paul <rpaul@trcinc.com> wrote:
- > I am currently implementing, from the working paper, class
- > basic_string. ...
- > before calling traits::deallocate, should I
- > explicitly call destructors on the charT's in my array, since it
- > may be a class type, or does the definition of charT as being
- > 'char-like' preclude this?
-
- (I assume Paul means Allocator::deallocate.)
- The requirements on a character type used as an element
- of a string certainly should be documented, at least as
- well as are other template parameters in the Draft. As
- I recall, this was an open issue for the Strings chapter,
- but the expectation was that characters would be assumed to
- to have (at most) ignorable constructors and destructors.
-
- I have some good news and bad news for Paul ...
- The bad news is that the traits and allocator interfaces were
- both changed at the March '96 meeting. The good news is that
- both are considerably simpler than before.
-
- Nathan Myers
- ncm@cantrip.org http://www.cantrip.org/
-
-
- [ comp.std.c++ is moderated. To submit articles: try just posting with ]
- [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
- [ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
- [ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
- [ Comments? mailto:std-c++-request@ncar.ucar.edu ]
-